<?php
/**
 * 统计页面专用日期选择框
 */

namespace common\widgets;

class StatsDateRangePicker extends Widget
{

    public function init(){
        parent::init();
        echo '
        <form class="date-from form-inline" action="">
            <div class="form-group">
                <label for="">起始日期</label>
                <input type="text" name="startDate" class="input_datetime" value=""/>
            </div>
            <div class="form-group">
                <label for="">结束日期</label>
                <input type="text" name="endDate" class="input_datetime" value=""/>
            </div>
            <div class="form-group">
                <input type="submit" class="btn btn-success btn-sm" value="确定"/>
            </div>
        </form>
    ';
    }

    public function run(){
        parent::run();
    }

}